#ifndef TREEITEM_SUBBOOK_H
#define TREEITEM_SUBBOOK_H

#include "IBookListItem.h"

namespace Jonathan
{

   class TreeItem_SubBook : public IBookListItem
   {
   public:
      TreeItem_SubBook              (QString bookName, int chapterCount, QTreeWidgetItem *parent);
      QString GetName               ();
      void LoadChildren             ();
      BookItemType GetBookItemType  () { return Jonathan::SubBook; }

   private:
      QString                       m_Name;
      int                           m_NumChapters;
   };

}

#endif // TREEITEM_SUBBOOK_H
